import time

import requests
import app

class Amt:

    def __init__(self):
        # 提现
        self.get_amt_url = "https"+app.BASE_URL + "/vega-server/cxfxWithdraw/getWithdraw"

    # 提现
    def get_amt(self,num):
        myJson = {"amt":num}
        myHeads = {"Content-Type": "application/x-www-form-urlencoded","token":app.TOKEN}
        return requests.get(url=self.get_amt_url,json=myJson,headers=myHeads,verify=False)
if __name__ == '__main__':
    print(Amt().get_amt(10).json())